﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="Customers.aspx.cs" Inherits="admin_Customers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    All customers
    <asp:GridView ID="GridView1" CssClass="table table-bordered table-responsive table-hover" runat="server" AllowSorting="True" DataSourceID="LinqDataSource1" AutoGenerateColumns="False" DataKeyNames="userId">
        <Columns>
            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            <asp:BoundField DataField="userId" HeaderText="userId" ReadOnly="True" SortExpression="userId" />
            <asp:BoundField DataField="address" HeaderText="address" SortExpression="address" />
            <asp:BoundField DataField="phone" HeaderText="phone" SortExpression="phone" />
            <asp:BoundField DataField="companyName" HeaderText="companyName" SortExpression="companyName" />
            <asp:BoundField DataField="webshopUrl" HeaderText="webshopUrl" SortExpression="webshopUrl" />
        </Columns>
    </asp:GridView>
&nbsp;<asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="ElearningDataContext" EnableDelete="True" EnableInsert="True" EnableUpdate="True" EntityTypeName="" TableName="Customers">
    </asp:LinqDataSource>
    <p>
    </p>
</asp:Content>

